$(document).ready(function(){
    $('#datatables').dataTable({
        "scrollY": "250px",
        "scrollCollapse": true,
        "oLanguage": {
            "sLengthMenu": "Mostrar _MENU_ Registros",
            "sZeroRecords": "No se encontraron registros",
            "sInfo": "Mostrando _START_ de _TOTAL_ registros",
            "sInfoEmpty": "Mostrando 0 to 0 of 0 records",
            "sInfoFiltered": "(Filtrado de _MAX_ registros totales)",
            "sSearch": "Buscar:",
            "oPaginate": {
                "sFirst": "Primero", 
                "sLast": "Último",  
                "sNext": "Siguiente", 
                "sPrevious": "Anterior"
            }
        }
    });
})